package com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.Catalog;

import java.util.List;

/**
 * @program: Web综合案例
 * @author: DingYaDong
 * @create: 2021-06-24 15:42
 */
public interface CatalogService {
    List<Catalog> findAll();
    PageInfo<Catalog> findAll(int page,int size);
    Catalog findById(String id);
    int delete(Catalog catalog);
    int save(Catalog catalog);
    int update(Catalog catalog);
}
